<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link href="/static/css/bootstrap.css" rel="stylesheet">
    <script type="text/javascript" src="/static/js/jquery-3.2.1.js"></script>
    <script src="/static/js/echarts.js"></script>
</head>
<body>
<center>
    <h1>登录页面</h1>
    <form action="/user/login" method="post">
        用户名:<input type="text" name="username"><br>
        密码:<input type="password" name="password"><br>
        <span class="text-danger">${error}</span>
        <a href="https://gitee.com/oauth/authorize?client_id=6008f3187a7a81a37b80f70570dd1d285b06bbaf706797f45d86e185b23bc8bc&redirect_uri=http://localhost:8080/user/auth&response_type=code">gitee登录</a><br>
        <button>登录</button>
    </form>
</center>
</body>
</html>
